﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;

namespace Company.UI.CustomControls
{
    public class CustomComboBox : ComboBox
    {
        /// <summary>
        /// ComboBox标题
        /// </summary>
        public string ComboBoxTitle
        {
            get { return (string)GetValue(ComboBoxTitleProperty); }
            set { SetValue(ComboBoxTitleProperty, value); }
        }

        public static readonly DependencyProperty ComboBoxTitleProperty =
            DependencyProperty.Register("ComboBoxTitle", typeof(string), typeof(CustomComboBox), new PropertyMetadata(""));

    }
}
